package repository.relsys.config;

import repository.relsys.util.*;


import org.simpleframework.xml.Element;



public class DBConfig
{
	
	@Element(name = "db-url", required = true)
	public String dbURL;
	
	@Element(name = "db-user", required = true)
	public String dbUser;
	
	@Element(name = "db-password", required = true)
	public String dbPassword;
	
	@Element(name = "create-tables", required = true)
	public boolean createTables = false;
	

	@Override
	public String toString()
	{
		return StringUtils.toStringByReflection(this);
	}
	
}
